home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2667 < prev    next >
Encoding:
Text File  |  1996-08-06  |  820 b   |  33 lines

  1. Path: comsearch.com!tnasca
  2. From: Thuan Nguyen <thnguyen@comsearch.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: HELP: I need RWTPtrSlist< myTemplate<T>>
  5. Date: 18 Jan 1996 22:42:40 GMT
  6. Organization: ComSearch, Inc
  7. Message-ID: <4dmid0$o2m@gateway.comsearch.com>
  8. NNTP-Posting-Host: arcturus.comsearch.com
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 1.1N (X11; I; SunOS 4.1.4 sun4c)
  13. X-URL: news:comp.lang.c++
  14.  
  15. I have a template class that will be used in a link list template. As a result.
  16. My declaration for link  list end up:
  17.  
  18. template <class listType>
  19. class myTemplate
  20. {
  21. }
  22.  
  23. template <class listType>
  24. class store_list
  25. {
  26.    RWTPtrSlist< myTemplate<listType>> _mylist; // link list 
  27. }
  28.  
  29. Compiler doesnt like this. Is there anyway I can get around this ??
  30.  
  31. Thanks
  32.  
  33.